/*
 * @Author: lilin_:）
 * @version: 1.0
 * @Descripttion:
 * @Date: 2021-07-03 10:55:46
 * @LastEditors: sueRimn
 * @LastEditTime: 2021-08-26 17:50:37
 */
import request from '/@/utils/request';

/**
 * 用户登录
 * @data data 要传的参数值
 * @returns 返回接口数据
 */
export let axios_logIn = (params: object) => {
	return request({
		url: '/oauth/login',
		method: 'POST',
		data: params,
	});
};

/**
 * 用户退出登录
 * @param params 要传的参数值
 * @returns 返回接口数据
 */
export function signOut(params: object) {
	return request({
		url: '/user/signOut',
		method: 'post',
		data: params,
	});
}
